using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("QuestTile")]
	public class QuestTile : MonoBehaviour
	{
		public UberText m_goldAmount => method_3<UberText>("m_goldAmount");

		public GameObject m_defaultBone => method_3<GameObject>("m_defaultBone");

		public UberText m_requirement => method_3<UberText>("m_requirement");

		public UberText m_questName => method_3<UberText>("m_questName");

		public GameObject m_nameLine => method_3<GameObject>("m_nameLine");

		public GameObject m_progress => method_3<GameObject>("m_progress");

		public UberText m_progressText => method_3<UberText>("m_progressText");

		public GameObject m_rewardIcon => method_3<GameObject>("m_rewardIcon");

		public NormalButton m_cancelButton => method_3<NormalButton>("m_cancelButton");

		public GameObject m_cancelButtonRoot => method_3<GameObject>("m_cancelButtonRoot");

		public GameObject m_legendaryFX => method_3<GameObject>("m_legendaryFX");

		public MeshRenderer m_tileRenderer => method_3<MeshRenderer>("m_tileRenderer");

		public Material m_tileLegendaryMaterial => method_3<Material>("m_tileLegendaryMaterial");

		public NestedPrefab m_goldDoubledFX => method_3<NestedPrefab>("m_goldDoubledFX");

		public NestedPrefab m_goldDoubledFXPhone => method_3<NestedPrefab>("m_goldDoubledFXPhone");

		public Achievement m_quest => method_3<Achievement>("m_quest");

		public bool m_canShowCancelButton => method_2<bool>("m_canShowCancelButton");

		public static float NAME_LINE_PADDING => MonoClass.smethod_6<float>(TritonHs.MainAssemblyPath, "", "QuestTile", "NAME_LINE_PADDING");

		public NestedPrefab GoldDoubledFX => method_14<NestedPrefab>("get_GoldDoubledFX", Array.Empty<object>());

		public QuestTile(IntPtr address, string className)
			: base(address, className)
		{
		}

		public QuestTile(IntPtr address)
			: this(address, "QuestTile")
		{
		}

		public void Awake()
		{
			method_8("Awake");
		}

		public void SetupTile(Achievement quest)
		{
			method_8("SetupTile", quest);
		}

		public void SetCanShowCancelButton(bool canShowCancel)
		{
			method_8("SetCanShowCancelButton", canShowCancel);
		}

		public void UpdateCancelButtonVisibility()
		{
			method_8("UpdateCancelButtonVisibility");
		}

		public int GetQuestID()
		{
			return method_11<int>("GetQuestID", Array.Empty<object>());
		}

		public void PlayBirth()
		{
			method_8("PlayBirth");
		}

		public void OnClose()
		{
			method_8("OnClose");
		}

		public void CompleteAndAutoDestroyQuest()
		{
			method_8("CompleteAndAutoDestroyQuest");
		}

		public void ReplaceQuest()
		{
			method_8("ReplaceQuest");
		}

		public void LoadCenterImage()
		{
			method_8("LoadCenterImage");
		}

		public void OnCancelButtonReleased(UIEvent e)
		{
			method_8("OnCancelButtonReleased", e);
		}
	}
}
